import request from '@/utils/request'

// 查询-31 PDB网址  列表
export function listTdmPdb(query) {
  return request({
    url: '/tdm/TdmPdb/list',
    method: 'get',
    params: query
  })
}

// 查询-31 PDB网址  详细
export function getTdmPdb(id) {
  return request({
    url: '/tdm/TdmPdb/' + id,
    method: 'get'
  })
}

// 新增-31 PDB网址  
export function addTdmPdb(data) {
  return request({
    url: '/tdm/TdmPdb',
    method: 'post',
    data: data
  })
}

// 修改-31 PDB网址  
export function updateTdmPdb(data) {
  return request({
    url: '/tdm/TdmPdb',
    method: 'put',
    data: data
  })
}

// 删除-31 PDB网址  
export function delTdmPdb(id) {
  return request({
    url: '/tdm/TdmPdb/' + id,
    method: 'delete'
  })
}
// 审核
export function to_examine(id,shenHe,pinZhong) {
  const data = {id, shenHe,pinZhong}
  return request({
    url: '/admin/examine',
    method: 'put',
    data:data
  })
}
